package com.vtb.entity;

import com.vtb.base.VtbBaseEntity;
import com.vtb.utils.DateUtils;

/**
 * 
 *
 * @author 
 * @date 2012-7-2 上午9:53:17
 */
public class RrOauth extends VtbBaseEntity{
	protected String access_token;
	protected String refresh_token;
	protected long expires_in;
	protected String r2q;
	protected String r2s;
	protected String refq;
	protected String refs;
	public RrOauth() {}
	public RrOauth(String access_token, String refresh_token,
			long expires_in, String uni, String createTime, String refq,String refs) {
		super();
		this.access_token = access_token;
		this.refresh_token = refresh_token;
		this.expires_in = expires_in;
		this.uni = uni;
		this.createTime = createTime;
		this.refq = refq;
		this.refs = refs;
	}
	public RrOauth(String access_token, String refresh_token,
			long expires_in, String uni, String refq,String refs) {
		super();
		this.access_token = access_token;
		this.refresh_token = refresh_token;
		this.expires_in = expires_in;
		this.uni = uni;
		this.createTime = DateUtils.createTime();
	    this.refq = refq;
	    this.refs = refs;
	}
    public String getAccess_token() {
        return access_token;
    }
    
    public void setAccess_token(String accessToken) {
        access_token = accessToken;
    }
    
    public String getRefresh_token() {
        return refresh_token;
    }
    
    public void setRefresh_token(String refreshToken) {
        refresh_token = refreshToken;
    }
    
    public long getExpires_in() {
        return expires_in;
    }
    
    public void setExpires_in(long expiresIn) {
        expires_in = expiresIn;
    }
    
    public String getR2q() {
        return r2q;
    }
    
    public void setR2q(String r2q) {
        this.r2q = r2q;
    }
    
    public String getR2s() {
        return r2s;
    }
    
    public void setR2s(String r2s) {
        this.r2s = r2s;
    }
    public String getRefq() {
        return refq;
    }
    
    public void setRefq(String refq) {
        this.refq = refq;
    }
    public String getRefs() {
        return refs;
    }
    
    public void setRefs(String refs) {
        this.refs = refs;
    }

}
